//
//  baseToast.h
//  baseVC
//
//  Created by 陶磊 on 2019/12/16.
//  Copyright © 2019 QHT. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface baseToast : NSObject

/**
 make toast default 1.5s

 @param view view description
 @param str str description
 */
+ (void)make:(UIView *)view string:(NSString *)str;
+ (void)make:(UIView *)view string:(NSString *)str duration:(CGFloat)time;

+ (void)makeOnTheWindow:(NSString *)str;

// activity
+ (void)makeActivity:(UIView *)view;
+ (void)hideActivity:(UIView *)view;

+ (void)makeActivityOnTheWindow;
+ (void)hideActivityOnTheWindow;



@end

NS_ASSUME_NONNULL_END
